<template>
    <div>
        <div class="list-item" v-for="(item,index) in list" :key="index">
            <div class="list-item-title border-bottom">
                <span class="item-title-icon"></span>
                {{item.title}}
            </div>
            <div class="item-children" v-if="item.children">
                <dtail-list :list="item.children"></dtail-list>
            </div>
        </div>
    </div>
</template>
<script>
export default {
    name:'DetailList',
    props:{
        list:Array
    }
}

</script>